package com.zc.client.http.form;


import cn.hutool.core.util.ObjectUtil;
import cn.hutool.json.JSONUtil;
import com.zc.client.http.ParaForm;


/**
 * 星际战舰(原欢乐鱼塘)表单
 *
 * @author kyine
 */
public class SpaceshipForm implements ParaForm {
    /** 钓台 */

    private Integer place;
    /** 下饵数 */
    private Long count;

    /** 节目Id */
    private Integer programId;

    public Integer getPlace() {
        return place;
    }

    public void setPlace(Integer place) {
        this.place = place;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Integer getProgramId() {
        return programId;
    }

    public void setProgramId(Integer programId) {
        this.programId = programId;
    }

    @Override
    public String generateJSONStr() {
        return JSONUtil.toJsonStr(ObjectUtil.isNotNull(this) ? this : "");
    }
}
